package com.itboy.mall.pms.skuimages.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.itboy.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * sku图片视图对象 mall_sku_images
 *
 * @author itboy
 * @date 2021-08-07
 */
@Data
@ApiModel("sku图片视图对象")
public class MallSkuImagesVo {

	private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
	@ApiModelProperty("id")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;

    /**
     * sku_id
     */
	@Excel(name = "sku_id")
	@ApiModelProperty("sku_id")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long skuId;

    /**
     * 图片地址
     */
	@Excel(name = "图片地址")
	@ApiModelProperty("图片地址")
	private String imgUrl;

    /**
     * 排序
     */
	@Excel(name = "排序")
	@ApiModelProperty("排序")
	private Long imgSort;

    /**
     * 默认图[0 - 不是默认图，1 - 是默认图]
     */
	@Excel(name = "默认图[0 - 不是默认图，1 - 是默认图]")
	@ApiModelProperty("默认图[0 - 不是默认图，1 - 是默认图]")
	private Long defaultImg;


}
